Optimal. Leaf size=125 \[ \frac{3 b^2 \left (a+b \csc ^{-1}(c x)\right )}{4 x^2}-\frac{3 b c \sqrt{1-\frac{1}{c^2 x^2}} \left (a+b \csc ^{-1}(c x)\right )^2}{4 x}+\frac{1}{4} c^2 \left (a+b \csc ^{-1}(c x)\right )^3-\frac{\left (a+b \csc ^{-1}(c x)\right )^3}{2 x^2}+\frac{3 b^3 c \sqrt{1-\frac{1}{c^2 x^2}}}{8 x}-\frac{3}{8} b^3 c^2 \csc ^{-1}(c x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.104995, antiderivative size = 125, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.429, Rules used = {5223, 4404, 3311, 32, 2635, 8} \[ \frac{3 b^2 \left (a+b \csc ^{-1}(c x)\right )}{4 x^2}-\frac{3 b c \sqrt{1-\frac{1}{c^2 x^2}} \left (a+b \csc ^{-1}(c x)\right )^2}{4 x}+\frac{1}{4} c^2 \left (a+b \csc ^{-1}(c x)\right )^3-\frac{\left (a+b \csc ^{-1}(c x)\right )^3}{2 x^2}+\frac{3 b^3 c \sqrt{1-\frac{1}{c^2 x^2}}}{8 x}-\frac{3}{8} b^3 c^2 \csc ^{-1}(c x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5223
Rule 4404
Rule 3311
Rule 32
Rule 2635
Rule 8
Rubi steps
\begin{align*} \int \frac{\left (a+b \csc ^{-1}(c x)\right )^3}{x^3} \, dx &=-\left (c^2 \operatorname{Subst}\left (\int (a+b x)^3 \cos (x) \sin (x) \, dx,x,\csc ^{-1}(c x)\right )\right )\\ &=-\frac{\left (a+b \csc ^{-1}(c x)\right )^3}{2 x^2}+\frac{1}{2} \left (3 b c^2\right ) \operatorname{Subst}\left (\int (a+b x)^2 \sin ^2(x) \, dx,x,\csc ^{-1}(c x)\right )\\ &=\frac{3 b^2 \left (a+b \csc ^{-1}(c x)\right )}{4 x^2}-\frac{3 b c \sqrt{1-\frac{1}{c^2 x^2}} \left (a+b \csc ^{-1}(c x)\right )^2}{4 x}-\frac{\left (a+b \csc ^{-1}(c x)\right )^3}{2 x^2}+\frac{1}{4} \left (3 b c^2\right ) \operatorname{Subst}\left (\int (a+b x)^2 \, dx,x,\csc ^{-1}(c x)\right )-\frac{1}{4} \left (3 b^3 c^2\right ) \operatorname{Subst}\left (\int \sin ^2(x) \, dx,x,\csc ^{-1}(c x)\right )\\ &=\frac{3 b^3 c \sqrt{1-\frac{1}{c^2 x^2}}}{8 x}+\frac{3 b^2 \left (a+b \csc ^{-1}(c x)\right )}{4 x^2}-\frac{3 b c \sqrt{1-\frac{1}{c^2 x^2}} \left (a+b \csc ^{-1}(c x)\right )^2}{4 x}+\frac{1}{4} c^2 \left (a+b \csc ^{-1}(c x)\right )^3-\frac{\left (a+b \csc ^{-1}(c x)\right )^3}{2 x^2}-\frac{1}{8} \left (3 b^3 c^2\right ) \operatorname{Subst}\left (\int 1 \, dx,x,\csc ^{-1}(c x)\right )\\ &=\frac{3 b^3 c \sqrt{1-\frac{1}{c^2 x^2}}}{8 x}-\frac{3}{8} b^3 c^2 \csc ^{-1}(c x)+\frac{3 b^2 \left (a+b \csc ^{-1}(c x)\right )}{4 x^2}-\frac{3 b c \sqrt{1-\frac{1}{c^2 x^2}} \left (a+b \csc ^{-1}(c x)\right )^2}{4 x}+\frac{1}{4} c^2 \left (a+b \csc ^{-1}(c x)\right )^3-\frac{\left (a+b \csc ^{-1}(c x)\right )^3}{2 x^2}\\ \end{align*}
Mathematica [A] time = 0.210623, size = 186, normalized size = 1.49 \[ \frac{-3 b c^2 x^2 \left (b^2-2 a^2\right ) \sin ^{-1}\left (\frac{1}{c x}\right )+6 b \csc ^{-1}(c x) \left (-2 a^2-2 a b c x \sqrt{1-\frac{1}{c^2 x^2}}+b^2\right )-6 a^2 b c x \sqrt{1-\frac{1}{c^2 x^2}}-4 a^3-6 b^2 \csc ^{-1}(c x)^2 \left (a \left (2-c^2 x^2\right )+b c x \sqrt{1-\frac{1}{c^2 x^2}}\right )+6 a b^2+3 b^3 c x \sqrt{1-\frac{1}{c^2 x^2}}+2 b^3 \left (c^2 x^2-2\right ) \csc ^{-1}(c x)^3}{8 x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.26, size = 315, normalized size = 2.5 \begin{align*} -{\frac{{a}^{3}}{2\,{x}^{2}}}+{\frac{{c}^{2}{b}^{3} \left ({\rm arccsc} \left (cx\right ) \right ) ^{3}}{4}}-{\frac{{b}^{3} \left ({\rm arccsc} \left (cx\right ) \right ) ^{3}}{2\,{x}^{2}}}-{\frac{3\,c{b}^{3} \left ({\rm arccsc} \left (cx\right ) \right ) ^{2}}{4\,x}\sqrt{{\frac{{c}^{2}{x}^{2}-1}{{c}^{2}{x}^{2}}}}}-{\frac{3\,{b}^{3}{c}^{2}{\rm arccsc} \left (cx\right )}{8}}+{\frac{3\,{b}^{3}{\rm arccsc} \left (cx\right )}{4\,{x}^{2}}}+{\frac{3\,c{b}^{3}}{8\,x}\sqrt{{\frac{{c}^{2}{x}^{2}-1}{{c}^{2}{x}^{2}}}}}+{\frac{3\,{c}^{2}a{b}^{2} \left ({\rm arccsc} \left (cx\right ) \right ) ^{2}}{4}}-{\frac{3\,a{b}^{2} \left ({\rm arccsc} \left (cx\right ) \right ) ^{2}}{2\,{x}^{2}}}-{\frac{3\,a{b}^{2}c{\rm arccsc} \left (cx\right )}{2\,x}\sqrt{{\frac{{c}^{2}{x}^{2}-1}{{c}^{2}{x}^{2}}}}}+{\frac{3\,a{b}^{2}}{4\,{x}^{2}}}-{\frac{3\,{a}^{2}b{\rm arccsc} \left (cx\right )}{2\,{x}^{2}}}+{\frac{3\,{a}^{2}cb}{4\,x}\sqrt{{c}^{2}{x}^{2}-1}\arctan \left ({\frac{1}{\sqrt{{c}^{2}{x}^{2}-1}}} \right ){\frac{1}{\sqrt{{\frac{{c}^{2}{x}^{2}-1}{{c}^{2}{x}^{2}}}}}}}-{\frac{3\,{a}^{2}cb}{4\,x}{\frac{1}{\sqrt{{\frac{{c}^{2}{x}^{2}-1}{{c}^{2}{x}^{2}}}}}}}+{\frac{3\,{a}^{2}b}{4\,c{x}^{3}}{\frac{1}{\sqrt{{\frac{{c}^{2}{x}^{2}-1}{{c}^{2}{x}^{2}}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.25876, size = 342, normalized size = 2.74 \begin{align*} \frac{2 \,{\left (b^{3} c^{2} x^{2} - 2 \, b^{3}\right )} \operatorname{arccsc}\left (c x\right )^{3} - 4 \, a^{3} + 6 \, a b^{2} + 6 \,{\left (a b^{2} c^{2} x^{2} - 2 \, a b^{2}\right )} \operatorname{arccsc}\left (c x\right )^{2} + 3 \,{\left ({\left (2 \, a^{2} b - b^{3}\right )} c^{2} x^{2} - 4 \, a^{2} b + 2 \, b^{3}\right )} \operatorname{arccsc}\left (c x\right ) - 3 \,{\left (2 \, b^{3} \operatorname{arccsc}\left (c x\right )^{2} + 4 \, a b^{2} \operatorname{arccsc}\left (c x\right ) + 2 \, a^{2} b - b^{3}\right )} \sqrt{c^{2} x^{2} - 1}}{8 \, x^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a + b \operatorname{acsc}{\left (c x \right )}\right )^{3}}{x^{3}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (b \operatorname{arccsc}\left (c x\right ) + a\right )}^{3}}{x^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]